﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AdvanceSearch.aspx.cs" Inherits="EWDTAssignment.AdvanceSearch" %>

<asp:Content ID="Content3"  ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<asp:Table ID = "AdvSearchTable" runat ="server" Width="524px">
        <asp:TableRow>
                <asp:TableCell Width ="90%">
                    <asp:Label ID ="lbladvanceSearch" runat="server" Text="Advance Search" Font-Size = "Medium" Font-Bold ="true" ></asp:Label>
                </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow></asp:TableRow>
        <asp:TableRow>
                <asp:TableCell ColumnSpan="3" BackColor = "GrayText">
                    <asp:Label Text="Enter search terms in at least one of the fields below" Font-Bold ="true" Font-Size="Medium" runat="server" />
                </asp:TableCell></asp:TableRow><asp:TableRow></asp:TableRow>
        </asp:Table>
        <asp:Table ID = "Table1" runat ="server" Width="535px" 
        style="margin-top: 0px"><asp:TableRow>
                <asp:TableCell><asp:HiddenField ID="HiddenField1" runat="server" /></asp:TableCell>
                     
                <asp:TableCell Width="20%"><asp:Label Text="Product Name" runat="server"/></asp:TableCell><asp:TableCell><asp:TextBox ID="txtbxProductName" runat="server" Width="200" /></asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell><asp:HiddenField runat="server"/></asp:TableCell> 
                <asp:TableCell><asp:Label Text="Category" runat="server"></asp:Label></asp:TableCell><asp:TableCell>
                <asp:DropDownList ID="ddlistcategory" runat="server"></asp:DropDownList></asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell><asp:HiddenField runat="server" /></asp:TableCell>
                <asp:TableCell><asp:Label Text="Price Range" runat="server"/></asp:TableCell><asp:TableCell>
                <asp:DropDownList ID="ddlistPrice" runat="server">
                    <asp:ListItem Selected="True" Text = "null" Value="null">--- Select ---</asp:ListItem>
                    <asp:ListItem Text="50" Value="50">Less than $50</asp:ListItem>
                    <asp:ListItem Text="100" Value="100">Less than $100</asp:ListItem>
                    <asp:ListItem Text="200" Value="200">Less than $200</asp:ListItem>
                    <asp:ListItem Text="300" Value="300">Less than $300</asp:ListItem>
                    <asp:ListItem Text="500" Value="500">Less than $500</asp:ListItem>
                    <asp:ListItem Text="1000" Value="1000">Less than $1000</asp:ListItem>
                    <asp:ListItem Text="1000" Value="1000">More than $1000</asp:ListItem>
                </asp:DropDownList></asp:TableCell></asp:TableRow><asp:TableRow></asp:TableRow>
        </asp:Table>
        <asp:Table runat="server" Width="524px">
            <asp:TableRow runat="server">
                <asp:TableCell Width="90%">
                    <asp:HiddenField runat="server" />
                </asp:TableCell><asp:TableCell Width ="5%">
                    <asp:Button ID="btnSubmitSearch" runat ="server" Text="Submit" OnClick="btnSearch_OnClick" />
                </asp:TableCell><asp:TableCell Width="5%">
                    <asp:Button ID="btnClear" runat = "server" Text ="Clear" OnClick="btnClear_OnClick" />
                </asp:TableCell></asp:TableRow></asp:Table></asp:Content>